package cz.data.domain.system.dao;

import cz.data.common.mybatis.BaseDao;
import cz.data.domain.system.model.entity.MenuEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MenuDao extends BaseDao<MenuEntity> {

    List<MenuEntity> selectMenuByRoleIds(@Param("roleIds") List<String> roleIds);

    List<MenuEntity> selectMenuByUserId(@Param("userId") String userId);

    List<MenuEntity> selectMenuByAdmin();
}
